<?php
class Zend_Controller_Action_Helper_Mensajes extends Zend_View_Helper_Abstract {
 
    public function mensajes() {
      return $this;
    }
 
    public function error($msg) {
      return "<div class='alert alert-error'>$msg</div>";
    }
 
    public function success($msg) {
      return "<div class='alert alert-success'>$msg</div>";
    }
 
}


?>
 